package com.fortune.vo.dProduct;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 
 * @author ran
 *
 */
public class Discount {
	@ApiModelProperty(example="优惠政策ID")
	private String id;
	@ApiModelProperty(example="优惠政策名称")
	private String name;
	@ApiModelProperty(example="满数量")
	private BigDecimal achieveNum;
	@ApiModelProperty(example="赠数量")
	private String giftNum;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getAchieveNum() {
		return achieveNum;
	}

	public void setAchieveNum(BigDecimal achieveNum) {
		this.achieveNum = achieveNum;
	}

	public String getGiftNum() {
		return giftNum;
	}

	public void setGiftNum(String giftNum) {
		this.giftNum = giftNum;
	}

	@Override
	public String toString() {
		return "Discount{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", achieveNum=" + achieveNum +
				", giftNum='" + giftNum + '\'' +
				'}';
	}
}
